<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/bootstrap.css">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="../js/bootstrap.js"></script>
    <script defer src="../js/index.js" type="module"></script>
</head>
<body>
    <div class="col-xs-12"id="con1">
        <input type="text" placeholder="标题" class="bookname">
        <input type="text" placeholder="发布人" class="username">
        <input type="date" placeholder="" class="date">
        <button type="button" class="btn btn-info add" >新增</button>
    </div>
    
    <div class="col-xs-12">
        <table class="table table-hover table-bordered">
            <thead>
              <tr>
                  <th>序号</th>
                  <th>标题</th>
                  <th>发布人</th>
                  <th>发布时间</th>
                  <th>操作</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                  <td></td>
                  <td></td>
                  <td></td>
                  <td></td>
                  <td id="cz"><a class="del">删除</a><a class="write">编辑</a></td>
            </tr>
            </tbody>
          </table>
           <!-- 模态框 -->
           <div class="row">
            <div class="modal fade" id="myModal" tabindex="-1" role="dialog">
                <div class="modal-dialog" role="document">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                <span
                                    aria-hidden="true" id="close">&times;</span></button>
                            <h4 class="modal-title">编辑</h4>
                        </div>
                        <div class="modal-body">
                            <p>
                                <input type="text" class="form-control agbookname" placeholder="">
                            </p>
                            <p>
                                <input type="text" class="form-control aguser" placeholder="">
                            </p>
                            <p> 
                                <input type="date" class="form-control agdate" placeholder="">
                            </p>
                        </div>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-primary " data-dismiss="modal" id="update">更新</button>
                            <button type="button" class="btn btn-primary " data-dismiss="modal">取消</button>
                        </div>
                    </div><!-- /.modal-content -->
                </div><!-- /.modal-dialog -->
            </div><!-- /.modal -->
    </div>
</body>
</html>